﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using Base;

namespace svnAccessFile
{
    public class AccessRight:baseItem<AccessRight>
    {
        public SvnRight SvnRight { get; set; }
        public bool isGroup 
        {
            get
            {
                return Name.StartsWith("@");
            } 
        }
        public AccessRight()
        {
            SvnRight = new SvnRight();
        }
        public AccessRight(string name, SvnRight svnRight)
        {
            Name = name;
            SvnRight = svnRight;
        }
    }

    public class AccessRights : baseList<AccessRight>
    {
    }

}
